Skip to content

Fix unaligned packed binary code access - #88

Merged
gouyt13 merged 1 commit into
mainfrom
fix/unaligned-packed-code-access
Sep 2, 2026
Merged

Fix unaligned packed binary code access#88
gouyt13 merged 1 commit into
mainfrom
fix/unaligned-packed-code-access

Conversation

@gouyt13

@gouyt13 gouyt13 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Summary

  • write packed binary words with byte arithmetic and memcpy
  • load packed words safely in AVX2, AVX-512, and HNSW mask kernels
  • preserve the existing HNSW memory and serialized index layout
  • add explicit two-word unaligned read/write regression tests

Verification

  • full C++ suite: 48/48 passed
  • focused UBSan tests passed for pack, AVX2/AVX-512 mask reads, and HNSW search
  • formatting and git diff checks passed

@gouyt13
gouyt13 merged commit c735883 into main Sep 2, 2026
14 checks passed
@gouyt13
gouyt13 deleted the fix/unaligned-packed-code-access branch September 2, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant